<h1>Add child <div class="close">x</div></h1>

<form action="<?php echo url('add/child'); ?>" method="post" class="ajax">

    <input type="hidden" name="person[user]" value="1" />
    <input type="hidden" name="person[parents]" value="<?=$idParents?>" />

    <div class="line">
        <label for="firstnames">Firstnames</label>
        <input type="text" name="person[firstnames]" id="firstnames" />
    </div>

    <div class="line">
        <label for="lastname">Lastname</label>
        <input type="text" name="person[lastname]" id="lastname" />
    </div>

    <div class="line">
        <label for="maidenname">Maiden name</label>
        <input type="text" name="person[maidenname]" id="maidenname" />
    </div>

    <div class="line">
        <label for="nickname">Nickname</label>
        <input type="text" name="person[nickname]" id="nickname" />
    </div>

    <div class="line">
        <label for="gender">Gender</label>
        <input type="radio" name="person[gender]" value="1" /> M
        <input type="radio" name="person[gender]" value="2" /> F
    </div>

    <div class="actions">
        <input type="submit" value="Save" />
        <div class="clearfix"></div>
    </div>

</form>